/**
 * jims
 */

package com.jims.master.modules.base.user.service;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.base.user.dao.DocInfoDao;
import com.jims.master.modules.base.user.dao.MasterBaseinfoDao;
import com.jims.master.modules.base.user.entity.DocInfo;
import com.jims.master.modules.base.user.entity.MasterBaseinfo;
import com.jims.master.modules.base.user.entity.MasterContactinfo;
import com.jims.master.modules.base.user.entity.MasterDoctorinfo;
import com.jims.master.modules.doctor.netHosptial.entity.NetClinic;
import com.jims.master.modules.doctor.netHosptial.service.NetClinicService;
import com.jims.master.modules.sys.entity.SysLoginName;
import com.jims.master.modules.sys.entity.User;
import com.jims.master.modules.sys.service.SysLoginNameService;
import com.jims.master.modules.sys.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 用户信息表Service
 * @author jict
 * @version 2017-11-15
 */
@Service
public class DocInfoService extends CrudService<DocInfoDao, DocInfo> {
    @Autowired
    private MasterContactinfoService masterContactinfoService;
    @Autowired
    private MasterDoctorinfoService masterDoctorinfoService;
    @Autowired
    private SysLoginNameService sysLoginNameService;
    @Autowired
    private UserService userService;
    @Autowired
    private NetClinicService netClinicService;

    public List<DocInfo> getDocByArea(String hospital,String parts,String area){
        return dao.getDocByArea(hospital,parts,area);
    }

    public List<DocInfo> getDocBys(String hospital,String parts,String area){
        return dao.getDocBys(hospital,parts,area);
    }

    public List<DocInfo> getAllDoc(){
        return dao.getAllDoc();
    }
}